import request from '../../components/Request';

export async function queryUserCfg() {
  let res = await request.post({
    url: './common/main.do',
  });
  return res;
}

export async function logout() {
  await request.post({
    url: './common/logout.do'
  });
  window.location.href = 'login.html';
}
